package com.neusoft.yuejian26.yuejian_26.model;

import com.neusoft.yuejian26.yuejian_26.Activity.PostActivity;
import com.neusoft.yuejian26.yuejian_26.Activity.ShareSimpActivity;
import com.neusoft.yuejian26.yuejian_26.Service.ActivityService;
import com.neusoft.yuejian26.yuejian_26.Service.FeedBackService;
import com.neusoft.yuejian26.yuejian_26.Service.PostService;
import com.neusoft.yuejian26.yuejian_26.Service.UpLoadService;
import com.neusoft.yuejian26.yuejian_26.network.RetrofitBaseModel;

import okhttp3.MultipartBody;
import retrofit2.Call;

/**
 * Created by Administrator on 2017/10/27 0027.
 */

public class PostModel extends RetrofitBaseModel {
    public Call upLoadPpic(String uid,String ptext, MultipartBody.Part file){
        return  retrofitCallBuilder.buildCall(PostService.class,"doingPost",new Object[]{uid,ptext,file});
    }
    public Call myShareList(String uid,String page){
        return  retrofitCallBuilder.buildCall(PostService.class,"getMyShareList",new Object[]{uid,page});
    }
    public Call shareSimp(String pid){
        return  retrofitCallBuilder.buildCall(PostService.class,"getShareSimp",new Object[]{pid});
    }
}
